package com.example.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 重命名会话请求DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RenameSessionRequest {
    
    /**
     * 新的会话标题
     */
    @NotBlank(message = "会话标题不能为空")
    @Size(min = 1, max = 100, message = "会话标题长度必须在1-100个字符之间")
    private String newTitle;
} 